package singleton.setting;

import model.settting.SettingItem;

/**
 * Created by trek2000 on 18/8/2014.
 */
public class Setting {

    private static Setting setting = null;
    private SettingItem settingItem;

    public static Setting getInstance() {
        if (setting == null) {
            setting = new Setting();
        }
        return setting;
    }

    public void setSettingItem(SettingItem settingItem) {
        this.settingItem = settingItem;
    }

    public SettingItem getSettingItem () {
        return  settingItem;
    }
}

